#include <iostream>

using namespace std;

int main()
{
    int x= 100,y =100;
    auto s= [&](){
        x= 50;
        y= 50;
        cout<<"in-- "<<x<<" : "<<y<<endl;
    };
    s();

    cout<<"out-- "<<x<<" : "<<y<<endl;

    return 0;
}
